﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ask.aspx.cs" Inherits="team_ask" %>


<%@ Register src="../UserControls/CFooterControl.ascx" tagname="CFooterControl" tagprefix="uc1" %>
<%@ Register src="../UserControls/CHeaderControl.ascx" tagname="CHeaderControl" tagprefix="uc2" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register src="../UserControls/blockshare.ascx" tagname="blockshare" tagprefix="uc3" %>
<%@ Register src="../UserControls/blockinvite.ascx" tagname="blockinvite" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">

     <uc2:CHeaderControl ID="CHeaderControl1" runat="server" />
    <div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="consult">
    <div class="consult-hd">
	<uc3:blockshare ID="blockshare1" runat="server" />

		<div class="deal-info"><table class="deal-info-table">
        <tr><td class="link">
        <p><a href="index.aspx?id=<%=strTeamID %>">&raquo;&nbsp;返回本团购</a></p><h2><%=strTeamTitle %></h2></td>


        <td class="buy">
        
     
        <a href="<%if(m_team.Delivery=="coupon"){ %>/team/buy.aspx?id=<%=strTeamID %><%}else{%>/ajax/car.aspx?id=<%=strTeamID %><% }%> "><%=strTeamTitle %></a>
     
        </td>
</tr></table></div>
	</div>
    <div class="consult-bd">
        <div id="content">
            <div class="box clear">
                
                <div class="box-content">
                    <div class="head">
                        <h2><%=strAbbreviation%>答疑</h2>
                    </div>
                    <div class="sect consult-list">
                        <ul class="list">
                        <asp:Literal ID="ltAsk" runat="server"></asp:Literal>
					
						</ul>
						 <webdiyer:AspNetPager ID="pager"  runat="server" onpagechanged="pager_PageChanged" ></webdiyer:AspNetPager>
					</div>
                    <div class="head" id="post">
                        <h2>我要提问</h2>
                    </div>
                    <div class="sect consult-form">
				
						<asp:Panel ID="pask" runat="server" Visible="false">
						<input type="hidden" id="parent_id" value="" runat="server"/>
						<textarea class="f-textarea" cols="60" rows="5" name="content" group="a"  require="true" maxlen="200" id="consult_content" runat="server"></textarea>
						<p class="commit">
							<input type="hidden" name="team_id"  id="team_id" value=""   runat="server"/>
							<input type="submit" value="好了，提交" name="commit" id="commit" group="a" class="formbutton validator" runat="server" onserverclick="submit_ServerClick"/>
						</p>
						</asp:Panel>
                        <asp:Literal ID="ltMsg" runat="server"></asp:Literal>
                        

                    <asp:Panel ID="PLogin" runat="server" Visible="false">
						请先<a href="/account/login.aspx">登录</a>或<a href="/account/signup.aspx">注册</a>再提问
					</asp:Panel>
              
					</div>
                </div>
                
            </div>
        </div>
        <div id="sidebar">
	<uc4:blockinvite ID="blockinvite1" runat="server" />
           
        </div>
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->
    <uc1:CFooterControl ID="CFooterControl1" runat="server" />
   

    

    </form>
</body>
</html>
